<!DOCTYPE html>
<html>
<head>
    {% if titl %}
    <title>{{titl}}</title>
    {% else %}
    <title>No title</title>
    {% endif %}

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="description" content="South African TV schedule optimized for your mobile phone or iPhone." />
    <meta name="viewport" content="width=device-width" />
    <meta name="robots" content="noindex, noarchive" />

    <script type="text/javascript">
      window.google_analytics_uacct = "UA-374538-8";
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-374538-8']);
      _gaq.push(['_setCustomVar', 1, 'ua', '{{useragent}}'.substring(0, 62)]);
      _gaq.push(['_setCustomVar', 1, 'fe', '{{features}}'.substring(0, 62)]);
      _gaq.push(['_trackPageview']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>
</head>

<body>
    {% if titl %}
    <h1>{{titl}}</h1>
    {% endif %}

    {% if desc %}
    <p>{{desc}}</p>
    {% else %}
    <p>No description</p>
    {% endif %}

    <p><a href="/{% if key %}#{{key}}{% endif %}">Back</a></p>
</body>
</html>

